Interface RemoteTransactionCallback
public interface RemoteTransactionCallback
The
RemoteTransactionCallback interface defines the specific elements required for the
integrator to interact during the Remote Transaction Validation flow.
This flow is initiated by the server; it is started by a call to Orchestrator.execute(String) with the command provided by the
server.
A RemoteTransactionCallback object should be provided to the Orchestrator
object (See Orchestrator.setRemoteTranCallback(RemoteTransactionCallback)) in
order to receive feedback during the remote transaction validation process.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTheRemoteTransactionCallback.DisplayDataCallerobject is to be informed of data approval/rejection.static enumTheRemoteTransactionCallback.SessionOutdatedReasonlists possible reasons for a session to be outdated.static enumTheRemoteTransactionCallback.SuccessTransactionStatelists possible transaction states after a Remote transaction success. -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemoteTransactionAborted(String command) Called upon remote transaction validation abortionvoidonRemoteTransactionDisplayData(String dataToDisplay, RemoteTransactionCallback.DisplayDataCaller caller) Called when the Orchestration SDK needs theRemoteTransactionCallbackobject to display data to the user for approval.voidonRemoteTransactionPasswordError(PasswordError passwordError) Called upon password error when performing remote transaction.voidCalled upon remote authentication session outdatedvoidonRemoteTransactionStepComplete(String command) Called when a step of the remote transaction validation process is complete.voidCalled upon remote transaction validation success
-
Method Details
-
onRemoteTransactionDisplayData
void onRemoteTransactionDisplayData(String dataToDisplay, RemoteTransactionCallback.DisplayDataCaller caller) Called when the Orchestration SDK needs theRemoteTransactionCallbackobject to display data to the user for approval.- Parameters:
dataToDisplay- the data to displaycaller- aRemoteTransactionCallback.DisplayDataCallerobject to use upon user's response
-
onRemoteTransactionStepComplete
Called when a step of the remote transaction validation process is complete. The provided orchestration command is to be sent to the server.- Parameters:
command- an orchestration command that must be sent to the server
-
onRemoteTransactionSuccess
Called upon remote transaction validation success -
onRemoteTransactionSessionOutdated
Called upon remote authentication session outdated- Parameters:
reason- reason why the session was outdated.
-
onRemoteTransactionAborted
Called upon remote transaction validation abortion- Parameters:
command- Optional command that should be sent to the server to notify about the abortion.
-
onRemoteTransactionPasswordError
Called upon password error when performing remote transaction.- Parameters:
passwordError- the type of password error
-